import Vue from 'vue'
import Router from 'vue-router'
import task from '../components/task.vue'
import file from '../components/file.vue'
import later from '../components/later.vue'
import list from '../components/list.vue'
import send from '../components/send.vue'
import supervise from '../components/supervise.vue'
import test from '../components/test.vue'
import taskadd from '../components/taskAdd.vue'
import taskedit from '../components/taskEdit.vue'




Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/task',
      name: '计划任务管理',
      component: task
    },
    {
      path: '/taskadd',
      name: '添加计划任务',
      component: taskadd
    },
    {
      path: '/taskedit',
      name: '编辑计划任务',
      component: taskedit
    },
    {
      path: '/test',
      name: '抽样检验',
      component: test
    },
    {
      path: '/later',
      name: '后处理管理',
      component: later
    },
    {
      path: '/send',
      name: '外省移送',
      component: send
    },
    {
      path: '/file',
      name: '承诺书管理',
      component: file
    },
    {
      path: '/list',
      name: '企业红黑榜',
      component: list
    },
    {
      path: '/supervise',
      name: '产品监管',
      component: supervise
    },
  ]
})
